SELECT * FROM indexTop WHERE 1 AND ( ((book = '01' OR book = '02') AND eventId IN ('54431777','54431779','54431781')) OR ( book = '03' AND eventId IN ('163805603','163805605','163805608')) OR ( book = '04' AND eventId IN ('6509905','6509908','6532907')) OR ( book = '05' AND eventId IN ('110874234','110874313','110881163')) OR ( book = '08' AND eventId IN ('12008735','12009377','12018820')) ) ORDER BY blabAbsPerc DESC LIMIT 0,10 ;
NO QUOTE